package com.neusoft.yiyang.common.entity.diet;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("meal_record")
public class MealRecord implements Serializable {

    @TableId
    private Integer mealRecordId;  // 膳食执行记录ID
    private Integer customerId;    // 客户ID
    private Integer caretakerId;   // 执行护工ID
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date mealTime;         // 用餐时间
    private String mealType;       // 餐次
    private String feedback;       // 进餐反馈(完食/拒食等)
    private String category;
}